#pragma once

#include "RobotPart.h"

class Cannon: public RobotPart
{
public:
	Cannon(void);
	void display();
	void switchTexture();
	float getHeight();
	~Cannon(void);
private:
	void loadImage();

	// texture
	GLuint currentTextureBase;
	GLuint currentTextureBaseCannon;
	GLuint currentTextureCannon;
	GLuint textureBase1;
	GLuint textureBase2;
	GLuint textureBaseCannon1;
	GLuint textureBaseCannon2;
	GLuint textureCannon1;
	GLuint textureCannon2;

	GLfloat width;
	GLfloat lenght;
	GLfloat height;
	GLfloat sizeCannon;
	GLfloat lenghtCannon;
	GLUquadricObj* quad;
};

